package springframework.boot;

public class DeduceMainApplicationClass {

    public static void main(String[] args) throws ClassNotFoundException {
        StackTraceElement[] stackTrace = (new RuntimeException()).getStackTrace();
        StackTraceElement[] var2 = stackTrace;
        int var3 = stackTrace.length;

        for (int var4 = 0; var4 < var3; ++var4) {
            StackTraceElement stackTraceElement = var2[var4];
            if ("main".equals(stackTraceElement.getMethodName())) {
                Class<?> aClass = Class.forName(stackTraceElement.getClassName());
                System.out.println(aClass.getName());
            }
        }
    }
}
